package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 白皮书调研任务对象 sys_white_paper_survey_task
 *
 * @author ruoyi
 * @date 2025-10-20
 */
public class SysWhitePaperSurveyTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 项目ID */
    @Excel(name = "项目ID")
    private Long projectId;

    /** 白皮书大纲ID */
    @Excel(name = "白皮书大纲ID")
    private Long outlineId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 任务指令/工作流 */
    @Excel(name = "任务指令/工作流")
    private String instructionWorkflow;

    /** 执行状态，对应字典值project_status */
    @Excel(name = "执行状态，对应字典值project_status")
    private String status;

    /** 任务类型，0-网站爬虫 1-AI生成 */
    private String taskType;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setProjectId(Long projectId)
    {
        this.projectId = projectId;
    }

    public Long getProjectId()
    {
        return projectId;
    }

    public void setOutlineId(Long outlineId)
    {
        this.outlineId = outlineId;
    }

    public Long getOutlineId()
    {
        return outlineId;
    }

    public void setTaskName(String taskName)
    {
        this.taskName = taskName;
    }

    public String getTaskName()
    {
        return taskName;
    }

    public void setInstructionWorkflow(String instructionWorkflow)
    {
        this.instructionWorkflow = instructionWorkflow;
    }

    public String getInstructionWorkflow()
    {
        return instructionWorkflow;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("outlineId", getOutlineId())
            .append("taskName", getTaskName())
            .append("instructionWorkflow", getInstructionWorkflow())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
